<!DOCTYPE html>
<html>
<head>
<head>
<title>艾维网管理系统登录</title>
<style type="text/css">
.mr_top_300 {margin-top:220px}
.mr_top_300 {margin-top:220px}
.bg_red{background-color:red};
</style>
</head>
<#include "/header.ftl">
</head>
<body>
<div class="container mr_top_300">
	<div class="row">
		<div class="span3"></div>
		<div class="span6">
			<form class="form-horizontal" action="/console/login" method="post">
				  <div class="control-group">
				    <label class="control-label" for="username">用户名</label>
				    <div class="controls">
				      <input type="text" id="username" placeholder="如: 江诗丹顿" name="username">
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="password">密码</label>
				    <div class="controls">
				      <input type="password" id="password" placeholder="123XX67" name="password">
				      <input type="hidden" id="redirect" name="redirect" value="${redirect!""}">
				    </div>
				  </div>
				  <div class="control-group">
				    <div class="controls">
				      <label class="checkbox">
				        <input type="checkbox">记住密码
				      </label>
				      <button type="submit" id="submit" class="btn">登录</button>
				    </div>
				  </div>
				</form>
		</div>
		<div class="span3"></div>
	</div>
</div>
</body>
<script type="text/javascript">
$(function(){
	$("#submit").click(function(){
	alert("ddd");
		if($("#username").val() != "" && $("#password").val() != ""){
			$("#submit").submit();
		}
	});
});
</script>
</html>
